import { FC } from "react"

import { SFormItem } from "@/components/common"
import StyleSelect from "@/components/common/styleSelect"
import { useLocale } from "@/locales"

const ModuleCode: FC<any> = ({ rules, selectorProps, labelProps }) => {
	const { newFormat } = useLocale()
	const options = [{ value: 1000, label: newFormat("routes.game.game_manage") }]

	return (
		<SFormItem colon label={newFormat("common.action_module")} rules={rules} {...labelProps}>
			<StyleSelect placeholder={newFormat("common.select_all")} options={options} defaultValue={1000} {...selectorProps} />
		</SFormItem>
	)
}

export default ModuleCode
